package com.suke.czx.modules.person.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonProperty;


/**
 * 人员表
 *
 * @author cs
 * @email 1299492720@qq.com
 * @date 2023-09-11 15:21:11
 */
@Data
@TableName("test_person")
public class TestPerson implements Serializable {
    public static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_UUID)
    @ApiModelProperty(value = "")
    @JsonProperty(value = "id")
    public String id;

    @ApiModelProperty(value = "姓名")
    @JsonProperty(value = "name")
    public String name;

    @ApiModelProperty(value = "年龄")
    @JsonProperty(value = "age")
    public Integer age;

    @ApiModelProperty(value = "地址")
    @JsonProperty(value = "adress")
    public String adress;

    @ApiModelProperty(value = "信息")
    @JsonProperty(value = "info")
    public String info;


}
